<?
$Year = 2008;
$SourceDB = "infaksby";
$TargetDB = "idms_aissby";
$TransMMTableTarget = "ais_memorial";
$TransMMTableSource[] = "det0601";
$TransMMTableSource[] = "det0602";
$TransMMTableSource[] = "det0603";
$TransMMTableSource[] = "det0604";
$TransMMTableSource[] = "det0605";
$TransMMTableSource[] = "det0606";
$TransMMTableSource[] = "det0607";
$TransMMTableSource[] = "det0608";
$TransMMTableSource[] = "det0609";
$TransMMTableSource[] = "det0610";
$TransMMTableSource[] = "det0611";
$TransMMTableSource[] = "det0612";
$TransMMTableSource[] = "det0613";
$TransMMTableSource[] = "det0701";
$TransMMTableSource[] = "det0702";
$DebiturTableSource   = "tdebtupf";
$DebiturTableTarget   = "tbldebtur";
$PiutangTableSource[] = "mas01";
$PiutangTableSource[] = "mas02";
$PiutangTableTarget   = "ais_piutang";
$SkadaTableSource     = "sal08";
$SkadaTableTarget     = "tblcoa";

//Migrasi Saldo Awal COA 
/*
Print "********* Migrasi Saldo Awal......";
include("ais_migrasi_saldo.php");
unset($SQL);
Print "Done<br>\n";
return;
*/

//Migrasi Table Memorial
/*
Print "********* Migrasi Memorial......";
include("ais_migrasi_memorial.php");
unset($SQL);
Print "Done<br>\n";
*/

//Migrasi Table Debitur
/*
Print "********* Migrasi Debitur......";
include("ais_migrasi_debtur.php");
unset($SQL); 
Print "Done<br>\n";
*/
//Migrasi Table Kwitansi
/*
Print "********* Migrasi Kwitansi......";
include("ais_migrasi_kwitansi.php");
unset($SQL);
Print "Done<br>\n";
*/

//Migrasi Aging Hutang
/*
Print "********* Migrasi Hutang......";
include("ais_migrasi_hutang.php");
unset($SQL);
Print "Done<br>\n";
*/
//Migrasi Aging Piutang

Print "********* Migrasi Piutang......";
include("ais_migrasi_piutang.php");
unset($SQL);
Print "Done<br>\n";


?>
